package com.zrrd.user.controller.v1;

import com.zrrd.model.common.dtos.ResponseResult;
import com.zrrd.model.user.pojos.AuthDto;
import com.zrrd.user.service.ApUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author WanJl
 * @version 1.0
 * @title ApUserController
 * @description
 * @create 2023/10/1 15:28
 */
//http://127.0.0.1:8803/service_6001/user/list
@RestController
@RequestMapping("/api/v1/auth")
public class ApUserController {
    @Autowired
    ApUserService apUserService;
    @PostMapping("/list")
    public ResponseResult findAll(AuthDto dto){
        return apUserService.findAll(dto);
    }
}
